package com.biz.primus.ms.member.dao.po;

import com.biz.primus.ms.base.jpa.po.BaseEntityPKIncrement;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 会员收藏
 *
 * @author jun.liu
 * @date 2017年10月22日
 * @reviewer
 * @see
 */
@Entity
@Table(name = "member_favourite")
@Data
@EqualsAndHashCode(callSuper = true)
public class MemberFavourite extends BaseEntityPKIncrement
{

    /**
     * 关联会员详情Member对象
     */
    @Column(name = "memberId")
    private Long memberId;

    /**
     * Product对象的code
     */
    private String productCode;

    //是否删除
    private Boolean deleteFlag = Boolean.FALSE;

}
